package cn.com.b2office.dao;

import java.util.List;

import cn.com.b2office.domain.ItemCollection;

public interface ItemCollectionDao {
	void add(ItemCollection coll);

	void remove(int idno);

	List<ItemCollection> listAllCollection(String memberId);
	
	List<ItemCollection> listCollection(String memberId, int firstResult,
			int maxResults);

	List<ItemCollection> listCollection(String memberId,
			String parentCategoryId, int firstResult, int maxResults);

	int getTotalCollectionSize(String memberId);

	int getTotalCollectionSize(String memberId, String categoryId);

}
